home *** CD-ROM | disk | FTP | other *** search
- #-------------------------------------------------------------------------------
- # menu2.tcl
- # =========
- # (C) 2001 RadonLabs GmbH
- #-------------------------------------------------------------------------------
-
- set entries_per_row 1
- set current_menu null
- set current_entry null
- set inputmapping_backup null
-
- #-------------------------------------------------------------------------------
- # init_menu
- # Initialize the menu system.
- #-------------------------------------------------------------------------------
- proc init_menu {} {
- puts "*** init_menu is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # show_current_entry
- # Make the currently selected entry in the current menu visible.
- #-------------------------------------------------------------------------------
- proc show_current_entry {} {
- puts "*** show_current_entry is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # hide_current_entry
- # Make the currently selected entry in the current menu invisible.
- #-------------------------------------------------------------------------------
- proc hide_current_entry {} {
- puts "*** hide_current_entry is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # show_current_menu
- # Make the current menu visible. Called by open_menu, don't use directly!
- #-------------------------------------------------------------------------------
- proc show_current_menu {} {
- puts "*** show_current_menu is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # hide_current_menu
- # Make the current menu invisible. Called by close_menu, don't use directly!
- #-------------------------------------------------------------------------------
- proc hide_current_menu {} {
- puts "*** hide_current_entry is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # private_open_menu $menuname $entries_per_row
- # Open the requested menu and place cursor on first menu entry. The menu
- # can also be a "2d" menu, in this case, give a value greater then
- # 1 to entries_per_row
- #-------------------------------------------------------------------------------
- proc private_open_menu {menuname epr} {
- puts "*** private_open_menu is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # open_menu $menuname
- # Frontend function to open a normal menu.
- #-------------------------------------------------------------------------------
- proc open_menu {menuname} {
- puts "*** open_menu is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # open_panel $menuname $entries_per_row
- # Frontend function to open a normal menu.
- #-------------------------------------------------------------------------------
- proc open_panel {menuname epr} {
- puts "*** open_panel is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # close_menu
- # Deactivate the current menu.
- #-------------------------------------------------------------------------------
- proc close_menu {} {
- puts "*** close_menu is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # menu_clear $menuname
- # Delete all menu entries in the given menu.
- #-------------------------------------------------------------------------------
- proc menu_clear {menuname} {
- puts "*** menu_clear is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # menu_cancel
- # Execute the cancel action associated with this menu.
- #-------------------------------------------------------------------------------
- proc menu_cancel {} {
- puts "*** menu_cancel is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # menu_action
- # Execute the action for the currently selected menu entry.
- #-------------------------------------------------------------------------------
- proc menu_action {} {
- puts "*** menu_action is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # menu_down
- # Make the next row entry in the menu current.
- #-------------------------------------------------------------------------------
- proc menu_down {} {
- puts "*** menu_down is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # menu_up
- # Make the previous row entry in the menu current.
- #-------------------------------------------------------------------------------
- proc menu_up {} {
- puts "*** menu_up is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # menu_right
- # Make the next entry in the menu current.
- #-------------------------------------------------------------------------------
- proc menu_right {} {
- puts "*** menu_right is OBSOLETE!"
- }
-
- #-------------------------------------------------------------------------------
- # menu_left
- # Make the previous entry in the menu current.
- #-------------------------------------------------------------------------------
- proc menu_left {} {
- puts "*** menu_left is OBSOLETE!"
- }
-
-